package com.ruoyi.firststage.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.base.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class Product extends BaseEntity{
    private Integer fid;

    private String fproductean;

    private String fproductname;

    private String fbrand;

    private String fcategory;

    private String fproducthref;

    private String fimghref;

    private BigDecimal fproductprice;

    private BigDecimal fproductpricemax;

    private BigDecimal fproductpricemin;

    private BigDecimal fcommentsamount;

    private BigDecimal fstaramount;

    private BigDecimal fstar;

    private String ffollowsellquantity;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private String fdate;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private String fdatetime;

    private Integer fversion;

    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public String getFproductean() {
        return fproductean;
    }

    public void setFproductean(String fproductean) {
        this.fproductean = fproductean == null ? null : fproductean.trim();
    }

    public String getFproductname() {
        return fproductname;
    }

    public void setFproductname(String fproductname) {
        this.fproductname = fproductname == null ? null : fproductname.trim();
    }

    public String getFbrand() {
        return fbrand;
    }

    public void setFbrand(String fbrand) {
        this.fbrand = fbrand == null ? null : fbrand.trim();
    }

    public String getFcategory() {
        return fcategory;
    }

    public void setFcategory(String fcategory) {
        this.fcategory = fcategory == null ? null : fcategory.trim();
    }

    public String getFproducthref() {
        return fproducthref;
    }

    public void setFproducthref(String fproducthref) {
        this.fproducthref = fproducthref;
    }

    public String getFimghref() {
        return fimghref;
    }

    public void setFimghref(String fimghref) {
        this.fimghref = fimghref;
    }

    public BigDecimal getFproductprice() {
        return fproductprice;
    }

    public void setFproductprice(BigDecimal fproductprice) {
        this.fproductprice = fproductprice;
    }

    public BigDecimal getFproductpricemax() {
        return fproductpricemax;
    }

    public void setFproductpricemax(BigDecimal fproductpricemax) {
        this.fproductpricemax = fproductpricemax;
    }

    public BigDecimal getFproductpricemin() {
        return fproductpricemin;
    }

    public void setFproductpricemin(BigDecimal fproductpricemin) {
        this.fproductpricemin = fproductpricemin;
    }

    public BigDecimal getFcommentsamount() {
        return fcommentsamount;
    }

    public void setFcommentsamount(BigDecimal fcommentsamount) {
        this.fcommentsamount = fcommentsamount;
    }

    public BigDecimal getFstaramount() {
        return fstaramount;
    }

    public void setFstaramount(BigDecimal fstaramount) {
        this.fstaramount = fstaramount;
    }

    public BigDecimal getFstar() {
        return fstar;
    }

    public void setFstar(BigDecimal fstar) {
        this.fstar = fstar;
    }

    public String getFfollowsellquantity() {
        return ffollowsellquantity;
    }

    public void setFfollowsellquantity(String ffollowsellquantity) {
        this.ffollowsellquantity = ffollowsellquantity == null ? null : ffollowsellquantity.trim();
    }

    public String getFdate() {
        return fdate;
    }

    public void setFdate(String fdate) {
        this.fdate = fdate;
    }

    public String getFdatetime() {
        return fdatetime;
    }

    public void setFdatetime(String fdatetime) {
        this.fdatetime = fdatetime;
    }

    public Integer getFversion() {
        return fversion;
    }

    public void setFversion(Integer fversion) {
        this.fversion = fversion;
    }
}